package com.mm.cloud.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mm.cloud.common.core.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * <p>
 * 字典数据
 * </p>
 *
 * @author mm
 * @since 2024-05-24
 */
@Getter
@Setter
@TableName("mm_dict_item")
@Schema(name = "DictItem", description = "字典数据")
public class DictItem extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "字典标签")
    private String dictItemLabel;

    @Schema(description = "字典值")
    private String dictItemValue;

    @Schema(description = "字典类型ID")
    private Long dictTypeId;

    @Schema(description = "排序")
    private Integer sort;
}
